home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0144.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  1.3 KB  |  29 lines

  1.  
  2. You might get checksum errors when switching from Amiga -> Blitz mode in the
  3. following fashion:
  4.  
  5. (1) In Amiga mode, you begin reading or (more likely) writing a file, and
  6. while the computer is still flushing buffers you
  7. (2) Switch to Blitz mode, thus killing the OS, including disk activity, thus
  8. creating a damaged block(s) on the device still being used.
  9.  
  10. To the avoid this problem in the future, you should wait before entering Blitz
  11. mode until all disk activity stops.  Since there is no way of knowing this via
  12. the OS, most programmers simply pause before they shutdown the OS for 3-5
  13. seconds.  This provides sufficient delay for disks to stop spinning.  I
  14. suspect that reading the Blitz manuals would have told you the same thing.
  15.  
  16. To (attempt to) repair the damage you have caused your hard disk, you need a
  17. disk repair program such as the popular DiskSalv.  If you know a lot about
  18. disk structure and the contents of any file(s) that were destroyed, you could
  19. also attempt to do this yourself with a disk editor.  If you have an earlier
  20. version of the OS, you might have diskdoctor in your C directory.  Delete it.
  21. You're better off getting one of the many freeware/shareware programs out
  22. there such as FixDisk or the already mentioned DiskSalv.
  23.  
  24. Hope this helps,
  25. Christopher Jennings
  26.  
  27.  
  28.  
  29.